<?php
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
?>
<div id="category-block" class="block">
              	<h4>Category</h4>
                <div class="block-content">
                	<ul>
						<?php if($this->catagorys ==null){ ?>
						<li class="no-category">NO CATEGORY</li>
						<?php }else{ ?>
						<?php foreach($this->catagorys as $c){ ?>
						<li><a a href="#"><?php echo $c->name; ?></a></li>
						<?php }} ?>
                    </ul>
                </div>
             </div>